package net.suncaper.demo.service;

import net.suncaper.demo.domain.*;

import java.math.BigDecimal;
import java.util.List;

public interface QuestionService {
    List<GiveQuestion> findGiveQuestion();
    void saveGiveQuestion(GiveQuestion giveQuestion);
    void deleteGiveQuestionById(BigDecimal id);
    GiveQuestion findGiveQuestionById(BigDecimal id);



    List<SelectQuestion> findSelectQuestion();
    SelectQuestion findSelectQuestionById(BigDecimal id);


    void saveReport(Report report);
    List<Report> findReport();
    Report findReportById(BigDecimal id);
    void updateReport(Report report);


    List<Review> FindReview();
    Review findReview(BigDecimal id);
    void saveReview(Review review);

    Student findstudentById(String id);
    void saveSelect(SelectQuestion selectQuestion);

    GiveQuestion selectquestionByquestionId(BigDecimal questionId);

    Teacher findTeachername(String teacherId);

    void deleteQuestionById(BigDecimal questionId);

    GiveQuestion findQuestionById(BigDecimal questionId);

    void updateQuestion(GiveQuestion question);

    List<Student> findStudent();
}
